package com.beta.event;

/**
 * @param <E>
 * @param <T>
 */
public abstract class ShopPayloadEvent<E extends ShopEvent, T> {

    private E event;
    private T payload;

    public ShopPayloadEvent(E event, T payload) {
        this.event = event;
        this.payload = payload;
    }

    public E getEvent() {
        return this.event;
    }

    public T getPayload() {
        return this.payload;
    }

}
